namespace FastDevTemplate.Service.Interface.Base;

public interface IAuditCurdService<TEntity, in TKey, TEntityResultDto, TEntityGetDto, in TAddEntityDto, in TUpdateEntityDto> : 
    IBaseCurdService<TEntity, TKey, TEntityResultDto, TEntityGetDto, TAddEntityDto, TUpdateEntityDto>
    where TEntity : class, new()
    where TEntityResultDto : class
    where TEntityGetDto : class
    where TAddEntityDto : class
    where TUpdateEntityDto : class
{
    int Recover(TKey id);
    Task<int> RecoverAsync(TKey id);
}